package practice;

public class VariableTest {
    public static void main(String[] args)
    {
        //byte的使用
        //范围-128~127
        byte b1=0;
        byte b2=127;
        byte b3=-128;
        System.out.println(b1);
        System.out.println(b2);
        System.out.println(b3);
        short s1=128;
        int i1=123;
        //声明long变量的时候，必须以l或L结尾
        long l1=12345L;
        System.out.println(l1);
    }
}
